/*
 * A Gneral purpose java based Math Library created by Susanta Tewari.
 * Copyright is protected. Contact Susanta Tewari at <statsusant@yahoo.com>
 */

package org.math.calculas;

import org.math.data.ScalarDataValue;
import org.math.data.storage.IntegerStorage;

/**
 *
 * @author Susanta Tewari <stewari@yahoo.com>
 */
public class ScalarIntegerVariable extends ScalarVariable implements IntegerVariable {

    /**
     * Constructs ...
     *
     * @param symbol description
     */
    public ScalarIntegerVariable(String symbol) {
        super(symbol, new ScalarDataValue(new IntegerStorage(1)));
    }

    public void setIntegerValue(int n) {
        setValue(new ScalarDataValue(new IntegerStorage(n)));
    }
}
